package com.tancire.report.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 应用接口流量对象 report_app_flow
 *
 * @author tancire
 * @date 2024-06-14
 */
public class ReportAppFlow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 日期
     */
    @Excel(name = "日期")
    private String reportDate;

    /**
     * 所属应用
     */
    @Excel(name = "所属应用")
    private Long appId;

    /**
     * 应用名字
     */
    @Excel(name = "应用名字")
    private String appName;

    /**
     * 业务类型
     */
    @Excel(name = "业务类型")
    private String busKey;

    /**
     * 业务类型名字
     */
    private String busName;

    /**
     * 访问数量
     */
    @Excel(name = "访问数量")
    private Integer visitCount;

    /**
     * 0 正常  1 删除  真删除，字段保留
     */
    private Integer delFlag;

    /**
     * 开始日期 【查询条件】
     */
    private String beginDay;

    /**
     * 结束日期 【查询条件】
     */
    private String endDay;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setReportDate(String reportDate) {
        this.reportDate = reportDate;
    }

    public String getReportDate() {
        return reportDate;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppName() {
        return appName;
    }

    public void setBusKey(String busKey) {
        this.busKey = busKey;
    }

    public String getBusKey() {
        return busKey;
    }

    public void setVisitCount(Integer visitCount) {
        this.visitCount = visitCount;
    }

    public Integer getVisitCount() {
        return visitCount;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public String getBusName() {
        return busName;
    }

    public void setBusName(String busName) {
        this.busName = busName;
    }

    public String getBeginDay() {
        return beginDay;
    }

    public void setBeginDay(String beginDay) {
        this.beginDay = beginDay;
    }

    public String getEndDay() {
        return endDay;
    }

    public void setEndDay(String endDay) {
        this.endDay = endDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("reportDate", getReportDate())
                .append("appId", getAppId())
                .append("appName", getAppName())
                .append("busKey", getBusKey())
                .append("visitCount", getVisitCount())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
